#include <iostream>
#include <list>
#include "Object.h"

int main(int argc, char* argv[])
{
    CChina China;
    CBeijing Beijing;
    CShanghai Shanghai;
    CTourist Tourist;
    CStudent Student;

    China.Register(&Beijing);
    China.Register(&Shanghai);

    China.Accept(&Tourist);
    China.Accept(&Student);

    return 0;
}
